package com.itheima;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @author: Zheng
 * @date: 2022/8/25 16:09
 * @description:
 */
@ServletComponentScan
@MapperScan("com.itheima.dao")
@Slf4j
@SpringBootApplication
public class Reggie2Application {

    public static void main(String[] args) {
        SpringApplication.run(Reggie2Application.class,args);
        log.info("项目启动了！");
    }
}
